home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / spoint1b.arc / SPOINT.DOC < prev    next >
Text File  |  1991-11-21  |  21KB  |  559 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.           Spoint Version 1.00/b
  26.  
  27.           A Simple Pointmail Processor for Hudson Messagebases
  28.  
  29.           Copyright (C) 1991 by Conrad Thompson.  All rights reserved.
  30.  
  31.           USER GUIDE
  32.  
  33.           1  Licensing Information
  34.  
  35.           Spoint is free, absolutely free.  If you find Spoint useful,
  36.           pass it along to somebody who might also benefit from it.
  37.           Spoint may be distributed freely, provided no fees are made
  38.           in any form, other than the cost of media on which it was
  39.           distributed.  Also, Spoint should only be distributed in
  40.           this original archive.  Modifications this the archive are
  41.           considered a violation of this license.
  42.  
  43.           1.1  Warranty
  44.  
  45.           Spoint is provided "as is," totally devoid of any kind of
  46.           warranty or guarantee, expressed or implied.  Spoint is
  47.           guaranteed to do nothing whatsoever, nothing other than
  48.           occupy diskspace.  If Spoint will not work for you, I'm
  49.           sorry, but as I said before, it doesn't have to if it
  50.           decides not to.
  51.  
  52.           In no event will Conrad Thompson be liable to any user of
  53.           Spoint for any damages or any untoward effects caused by
  54.           this program, including any lost profits or monies or
  55.           damaged equipment, or any other incidental or consequential
  56.           arising out of the use or misuse or inability to use this
  57.           program.  Use Spoint at your own risk.
  58.  
  59.           1.2  Something to Bear in Mind
  60.  
  61.           This is only a beta version, still in the developmental
  62.           stages.  It has not been extensively tested.  All the really
  63.           dangerous bugs seem to have been weeded out, but there could
  64.           still be some hangers-on, so to speak.
  65.  
  66.           2  System Requirements
  67.  
  68.           ■ An IBM PC compatible with at least 256K.
  69.           ■ MS-DOS or PC-DOS 3.00 or higher.
  70.           ■ A hard drive with some free space.
  71.           ■ A Hudson (QuickBBS, RemoteAccess or SuperBBS) messagebase.
  72.             (Spoint will create the files if they aren't there.)
  73.           ■ A mailer.  FrontDoor, preferably.
  74.  
  75.           2.1  Suggestions
  76.  
  77.           ■ GoldEd (currently at version 2.31p).
  78.           ■ A disk cache.  (Spoint's already pretty fast, but, hey,
  79.             what can a little more speed hurt?)
  80.           ■ SPAZ 1.50 for unpacking ARCmail bundles.
  81.           ■ FrontDoor 2.02
  82.  
  83.           3  Introduction
  84.  
  85.           Spoint is a fully point-aware echomail handler for points
  86.           or leafnodes (systems that don't have any children) that
  87.           use Hudson messagebases.  Although there are many products
  88.           capable of handle points in this environment, they can be
  89.           extremely difficult to configure and use if you're not
  90.           well-versed in the rudiments of echomail.  With Spoint
  91.           you really only need to know two commands, TOSS, to import
  92.           mail, and SCAN, to export.  Spoint doesn't sacrifice
  93.           flexibility at the expense of simplicity, though.  There are
  94.           functions available that allow you to accomplish just about
  95.           anything you would want to do with a point, but they are
  96.           entirely optional.  In short: Pointing with full-featured
  97.           juggernauts is hard.  Spointing with Spoint is easy.
  98.  
  99.           (See section 9 for Quick Installation.)
  100.  
  101.           4  The Control File
  102.  
  103.           Spoint's control file, by default named SPOINT.CTL, should
  104.           be a regular text file with no special format codes or
  105.           anything annoying like that.
  106.  
  107.           Spoint will look for its control file in the current
  108.           directory.  If the control file is not there, Spoint will
  109.           look for it in the path specified in the SPOINT environment
  110.           variable.
  111.  
  112.           This file is free-form.  That is to say, what you assign to
  113.           a keyword does not necessarily have to be one space away
  114.           from it.  Also, keywords and their assignments are not case-
  115.           sensitive.  Semicolons (;) are used to indicate that the
  116.           text on that line is a comment, and, accordingly, Spoint
  117.           will ignore that line.
  118.  
  119.           NOTE: DO NOT USE TRAILING BACKSLASHES (\) IN PATH
  120.                 ASSIGNMENTS!
  121.  
  122.           A sample control file, named SPOINT.CTL, is included with
  123.           this archive.  You can edit it to reflect your system's
  124.           setup.
  125.  
  126.           4.1  Control File Keywords
  127.  
  128.                 4.1.1  ADDRESS <zone>:<net>/<node>.<point>
  129.  
  130.                 This is your network address, which should be the same
  131.                 as your bossnode's plus a pointnumber he has assigned.
  132.                 For instance, if your bossnode's address is 1:3603/20,
  133.                 and he has assigned you pointnumber 112, this keyword
  134.                 should read 1:3603/20.112  Spoint uses this to know
  135.                 how to stamp your mail.
  136.  
  137.                 This keyword is required.
  138.  
  139.                 4.1.2  BOSSNODE <zone>:<net>/<node>[.point]
  140.  
  141.                 This is your bossnode's full network address, the same
  142.                 as your address minus the point.  Spoint uses this to
  143.                 know where to send your mail.
  144.  
  145.                 This keyword is required.
  146.  
  147.                 4.1.3  FAKENET <zone>:<net>/<node>[.point]
  148.  
  149.                 If you or your bossnode is not using point-aware
  150.                 mailer like FrontDoor, this should indicate your full
  151.                 fakenet address.  However, if both of you are using
  152.                 point-aware mailers, you should omit this keyword.
  153.  
  154.                 This keyword is optional.
  155.  
  156.                 4.1.4  ARCCOMMAND <archiver> [switches] <%a> <%f>
  157.  
  158.                 This is the program that compresses your ARCmail
  159.                 packets.  If this program lives in one of the
  160.                 directories specified in your PATH environment
  161.                 variable, there is no need to add path info.
  162.  
  163.                 If the program requires a command-line arguments in
  164.                 order to either create or add to an archive, you
  165.                 should indicate that.
  166.  
  167.                 Examples: arca %a %f
  168.                           arc a %a %f
  169.                           pak a /C %a %f
  170.                           pkarc a %a %f
  171.  
  172.                 (Check the reference manual of whatever archiver you
  173.                 plan to use.)
  174.  
  175.                     %a Specifies where Spoint should expand the
  176.                        name of the archive to be added to or created.
  177.  
  178.                     %f Specifies where Spoint should expand the
  179.                        file(s) to incorporate into the archive.
  180.  
  181.                 NOTE: ARC 5 is the current Fidonet standard for
  182.                 compressed mail.  Unless you and your bossnode have
  183.                 settled on an alternative, always make sure you're
  184.                 sending out ARC-type archives.
  185.  
  186.                 This keyword is required.
  187.  
  188.                 4.1.5  NETMAIL <path>
  189.  
  190.                 This is the directory where your system keeps netmail
  191.                 (*.MSG) files.
  192.  
  193.                 This keyword is required.
  194.  
  195.                 4.1.6  HUDSON <path>
  196.  
  197.                 This is the directory where your system keeps its
  198.                 Hudson-style messagebase files (MSG*.BBS).
  199.  
  200.                 This keyword is required.
  201.  
  202.                 4.1.7  INBOUND <path>
  203.  
  204.                 This is the directory where your system will put
  205.                 inbound mail packets (*.PKT).
  206.  
  207.                 Please note: Spoint WILL NOT unpack ARCmail bundles.
  208.                 Utilities like SPAZ and POLYXARC can handle this much
  209.                 more efficiently.  You should set up your batch file
  210.                 to call one of these programs before passing to
  211.                 Spoint.  (See section 11 for an sample batch file.)
  212.  
  213.                 This keyword is required.
  214.  
  215.                 4.1.8  OUTBOUND <path>
  216.  
  217.                 This is the directory where you want Spoint to put
  218.                 outbound ARCmail bundles (E.G., "dcd8ffb3.mo1").
  219.  
  220.                 This keyword is required.
  221.  
  222.                 4.1.9  LOGFILE <[path]filename>
  223.  
  224.                 This is the file to which you want Spoint to write its
  225.                 log information.  On my system, I have this set with
  226.                 the same name as FrontDoor's log, so that I can look
  227.                 at both of them at once.  The log format looks
  228.                 somewhat similar to FD's, too.  If this keyword is
  229.                 omitted, no log will be kept.
  230.  
  231.                 This keyword is optional.
  232.  
  233.                 4.1.10  PASSWORD <password>
  234.  
  235.                 If either you or your bossnode is paranoid, you can
  236.                 use this keyword to indicate the password you'd like
  237.                 to use for your packets.  If a packet's password
  238.                 doesn't match the one you've specified, the packet
  239.                 will be renamed to BADPASSW.nnn.
  240.  
  241.                 If you're going to be using passwords, make sure that
  242.                 yours is identical to your bossnode's.
  243.  
  244.                 Note: With passwords, only the first seven (7)
  245.                 characters are significant.  They are also non-case-
  246.                 sensitive.
  247.  
  248.                 This keyword is optional.
  249.  
  250.                 4.1.11  TEARLINE <string>
  251.  
  252.                 Specifies an alternative tearline.  If you don't use
  253.                 this keyword, Spoint will never use a tearline unless
  254.                 you use the -T switch.  Then it will use the default
  255.                 tearline, I.E., "--- Spoint 1.00/b".  (See section 7)
  256.  
  257.                 This keyword is optional.
  258.  
  259.                 4.1.12  HISTORY
  260.  
  261.                 The presence of this keyword in the control file tells
  262.                 Spoint that you'd like to keep a comprehensive history
  263.                 of what comes in and goes out of your echomail con-
  264.                 ferences.  (See section 10 for more detailed info on
  265.                 the history file.)
  266.  
  267.                 This keyword is optional.
  268.  
  269.           5  Commands and Switches
  270.  
  271.           For simplicity's sake, Spoint has only two commands, TOSS
  272.           and SCAN.  All of Spoint's switches are optional, so you
  273.           really only need to be familiar with the commands, all TWO
  274.           of them.  The switches--not the commands--can be set with
  275.           either a hyphen (-) or a slash (/).
  276.  
  277.                 5.1  Syntax
  278.  
  279.                 SPOINT <TOSS|SCAN> [-cshtie] [-d<KB>] [-f<areas>]
  280.                     [-a<control>] [-l<tosslog>]
  281.  
  282.                 The commands and switches can be given in any order,
  283.                 and they are not case-sensitive.  For example . . .
  284.  
  285.                 SPOINT TOSS -s -c -lEcho.log
  286.                 SPOINT /C /LECHO.LOG /S TOSS
  287.  
  288.                 . . . both mean the same thing.
  289.  
  290.           5.2  Commands
  291.  
  292.                 5.2.1  TOSS
  293.  
  294.                 This command causes Spoint to look for packet (*.PKT)
  295.                 files in the directory pointed to by the INBOUND
  296.                 keyword (see 4.1.7).  If any are found, Spoint will
  297.                 extract the echomail messages they contain and put
  298.                 them [the messages] into your Hudson messagebase (see
  299.                 4.1.6).  If everything goes okay, Spoint will delete
  300.                 the packet(s) when it has finished tossing.
  301.  
  302.                 You should run Spoint with this command whenever you
  303.                 receive mail from your bossnode.
  304.  
  305.                 5.2.2  SCAN
  306.  
  307.                 This command causes Spoint to scan your Hudson message
  308.                 base (see 4.1.6) and look for any unsent echomail.  If
  309.                 it finds any, it will create an ARCmail bundle and
  310.                 fileattach for your bossnode.
  311.  
  312.                 If your editor creates a file called ECHOMAIL.BBS,
  313.                 scanning will be almost instantaneous.
  314.  
  315.                 You should run Spoint with this command after you
  316.                 enter new echomail.
  317.  
  318.           5.3  Switches
  319.  
  320.                 5.3.1  -A<filename>
  321.  
  322.                 Specifies and alternate control file other than the
  323.                 default SPOINT.CTL.  This is useful if you have more
  324.                 than one bossnode.
  325.  
  326.                 5.3.2  -C
  327.  
  328.                 Marks all bundles generated as priority crashmail.
  329.  
  330.                 5.3.3  -D<kb>
  331.  
  332.                 Specifies the minimum about of free disk space, in
  333.                 kilobytes, required to continue.  Example, -D1000.
  334.  
  335.                 5.3.4  -E
  336.  
  337.                 Tells Spoint NOT to use ECHOMAIL.BBS to look for
  338.                 unscanned mail.  Since Spoint will have to search
  339.                 through each and every message in your messagebase,
  340.                 this can be quite slow.  Spoint looks for ECHOMAIL.BBS
  341.                 in the path pointed to by the HUDSON keyword.
  342.  
  343.                 5.3.5  -F<filename>
  344.  
  345.                 Specifies an alternate areas file other than the
  346.                 default AREAS.BBS.
  347.  
  348.                 5.3.6  -H
  349.  
  350.                 Marks all bundles generated at hold-for-pickup.  Be
  351.                 careful.  Your mail will never get out unless your
  352.                 bossnode calls you.
  353.  
  354.                 5.3.7  -I
  355.  
  356.                 Causes Spoint to ignore the netmail area for this run.
  357.                 This is useful if you have stray echomail in the
  358.                 netmail area that you do not want imported.
  359.  
  360.                 5.3.8  -L<filename>
  361.  
  362.                 Used in conjunction with the TOSS command, this
  363.                 switch causes Spoint to make a list of all the areas
  364.                 it tossed mail to on this run.  This is useful for
  365.                 reply-linking.
  366.  
  367.                 5.3.9  -S
  368.  
  369.                 Causes Spoint to strip SEEN-BYs off the bottom of all
  370.                 inbound messages.  Most good readers will hide these
  371.                 anyway.
  372.  
  373.                 5.3.10  -T
  374.  
  375.                 Causes Spoint to use its tearline instead of PID,
  376.                 which stands for Product IDentification and is hidden
  377.                 from view.  This switch is redundant if you already
  378.                 have the TEARLINE keyword (See 4.1.11) set.
  379.  
  380.           6  The Areas File
  381.  
  382.           The areas file, like the control file, should just be plain
  383.           ASCII.  The format is pretty simple.
  384.  
  385.           A sample areas file is included with the archive.
  386.  
  387.                 <#> <AREATAG>       [FORWARD-TO]
  388.                  ;
  389.                  ;  Sample AREAS.BBS file
  390.                  ;
  391.                  1  POINTS          n/a
  392.                  2  C_ECHO          n/a
  393.                  3  NET_DEV         n/a
  394.                  4  FDECHO          n/a
  395.                  5  WRITING         n/a
  396.                  ;
  397.                  ;
  398.                  . . . etc.
  399.  
  400.                 6.1  Areas File Format Breakdown
  401.  
  402.                 As with the control file, semicolons indicate
  403.                 comments.  The file can contain up to 200 area
  404.                 definitions.
  405.  
  406.                 6.1.1  #
  407.  
  408.                 The number of the messagebase where you want messages
  409.                 from the conference referenced by AREATAG placed.
  410.  
  411.                 6.1.2  AREATAG
  412.  
  413.                 The name, non-case-sensitive, of the conference.  All
  414.                 incoming echomail messages will have this name in
  415.                 their text, so it's important that the names match.
  416.                 When that name is encountered, that message will be
  417.                 tossed into the area referenced by #.
  418.  
  419.                 6.1.3  [FORWARD-TO]
  420.  
  421.                 Where Spoint is concerned, this argument is ignored.
  422.                 Spoint sends all mail to your bossnode anyway, so this
  423.                 is unnecessary.  It's a holdover from the traditional
  424.                 areas file format.
  425.  
  426.           7  Tearlines and PIDs
  427.  
  428.           By default, Spoint will always attempt to put its PID in a
  429.           message it's packing up.  If a PID already exists and/or you
  430.           have used the -T switch, Spoint will use a tearline instead.
  431.           It will never use a tearline unless you specify by using
  432.           this switch or have used the TEARLINE keyword in the control
  433.           file.
  434.  
  435.           If you are going to use the TEARLINE keyword, please be
  436.           conscientious.  Don't make your tearline annoying or goofy.
  437.           This facility was implemented for people who like to show
  438.           what kind of mail-processing setup they've got going.  You
  439.           know, like "--- FD 2.02 & Spoint 1/b" for somebody using
  440.           FrontDoor 2.02 and Spoint 1.00/b.
  441.  
  442.           8  Files that Spoint Uses
  443.  
  444.           Spoint's "Must-have" Files :
  445.  
  446.                     ????????.CTL  Control file (default SPOINT.CTL)
  447.                     ????????.???  Areas file (default AREAS.BBS)
  448.  
  449.           Spoint's Optional File :
  450.  
  451.                     ECHOMAIL.BBS  Index for unscanned echomail,
  452.                                   created by most if not all message
  453.                                   editors, including FrontDoor's FM.
  454.  
  455.           Files that Spoint creates :
  456.  
  457.                     ????????.???  Logfile.  Name is user-specified via
  458.                                   the LOGFILE keyword in control file.
  459.  
  460.                     BIGMSGTM.$$$  Created when Spoint handles a
  461.                                   message bigger than its buffer
  462.                                   allows, I.E., 18K.  Unlinked when
  463.                                   finished.
  464.  
  465.                     SPOINT.HIS    (If HISTORY keyword present in con-
  466.                                   trol file.)
  467.  
  468.           Hudson Messagebase Files*:
  469.  
  470.                     MSGHDR.BBS    Message header info.
  471.                     MSGIDX.BBS    Message header index.
  472.                     MSGINFO.BBS   Message info.
  473.                     MSGTOIDX.BBS  Username-to index.
  474.                     MSGTXT.BBS    Message text.
  475.  
  476.           (* Spoint will create these if they don't already exist.)
  477.  
  478.           9  Quick Installation
  479.  
  480.                 1)  Unpack all the files from the distribution
  481.                     archive, which you've probably already done.
  482.  
  483.                 2)  Edit SPOINT.CTL and AREAS.BBS to reflect your
  484.                     system's setup.
  485.  
  486.                 3)  Make sure CONFIG.SYS has FILES set to 25 or
  487.                     higher.
  488.  
  489.           And you're ready to roll!
  490.  
  491.           10  The History File
  492.  
  493.           If you have placed the HISTORY keyword in your control file,
  494.           Spoint will keep a detailed account of echomail traffic,
  495.           both inbound and outbound.
  496.   
  497.           To read this file, you'll need an external program called
  498.           SPHIST.EXE, which is included in the distribution archive.
  499.           Simply invoke SPHIST.EXE at DOS's prompt, and it will print
  500.           out a list of echomail activity, including messages in and
  501.           out, average messages per day, and total kilobytes in and
  502.           out for each echomail conference.
  503.  
  504.           Spoint will write this file to the directory specified in
  505.           its environment variable.  If one is not specified, Spoint
  506.           will write it to the current directory.  SPHIST.EXE works
  507.           the same way, except it never writes to the history file.
  508.  
  509.           11  A Sample Batchfile
  510.  
  511.           Used with FrontDoor 2.02 and GoldEd 2.31p.  This is really a
  512.           skeleton of what you'll need, but it should help you to get
  513.           started if you're don't have any experience making batch
  514.           files.
  515.  
  516.           ------------------------------------------------------------
  517.           echo off
  518.           :start
  519.           e:
  520.           cd\fd
  521.           fd
  522.           if errorlevel 121 goto golded
  523.           if errorlevel 120 goto unpackmail
  524.           if errorlevel 10 goto shutdown
  525.           goto start
  526.  
  527.           :golded
  528.           e:
  529.           cd\golded
  530.           golded
  531.           if errorlevel 4 goto packmail    <  GoldEd returns errlvl 4
  532.           goto start                          if new echomail entered.
  533.  
  534.           :unpackmail
  535.           e:
  536.           cd\fd\file                       <  INBOUND directory
  537.           spaz -f \fd\file                 <  Spaz unpacks bundles
  538.           spoint toss
  539.           goto start
  540.  
  541.           :packmail
  542.           e:
  543.           cd\fd
  544.           spoint scan
  545.           goto start
  546.  
  547.           :shutdown
  548.           echo FrontDoor down.
  549.           ------------------------------------------------------------
  550.  
  551.           12  Closing Matter
  552.  
  553.           If you've found a bug or are interesting in getting a copy
  554.           of the C source code or just want to acknowledge your
  555.           appreciation/hatred of my work, send me netmail at
  556.           1:130/29.106.
  557.  
  558.           Thanks for using Spoint!
  559.